.publish-page {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 80px);
}

.publish-header {
  margin-bottom: 20px;
  
  .header-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
  }
}

.publish-content {
  flex: 1;
  overflow-y: auto;
}

.content-textarea {
  width: 100%;
  min-height: 120px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 16px;
  background-color: #f9f9f9;
}

.media-type-switcher {
  display: flex;
  margin-bottom: 20px;
  
  .nut-button {
    margin-right: 10px;
  }
}

.upload-container {
  margin-bottom: 20px;
}

.upload-list {
  display: flex;
  flex-wrap: wrap;
}

.upload-item {
  width: 100px;
  height: 100px;
  margin-right: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.upload-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.add-item {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  border: 1px dashed #ddd;
}

.add-icon {
  font-size: 30px;
  color: #999;
}

.delete-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  z-index: 2;
}

.video-container {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
}

.video-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-video-btn {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  border: 1px dashed #ddd;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
}

.upload-text {
  margin-top: 10px;
  color: #999;
  font-size: 14px;
}

.publish-footer {
  padding: 20px 0;
}

.submit-btn {
  width: 100%;
  background-color: #4CB050 !important;
  border-color: #4CB050 !important;
} 